﻿// 1.1.3.08. Write an expression that checks if given point (x,  y) is within a circle K(O, 5).

using System;

class PointInCircle
{
    static void Main()
    {
        while (true)
        {
            Console.Write("Please enter the first coordinate of a point, x = ");
            float xCirclePoint = float.Parse(Console.ReadLine());
            Console.Write("Please enter the second coordinate of a point, y = ");
            float yCirclePoint = float.Parse(Console.ReadLine());
            bool inTheCircle = (Math.Sqrt(xCirclePoint * xCirclePoint + yCirclePoint * yCirclePoint)) <= 5;
            Console.WriteLine("The point you have entered is in the circle: " + inTheCircle);
        }
    }
}